import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'
import { router } from './routing'
import { Provider } from 'react-redux'
import store from './store/store'

const domNode = document.getElementById('root') as HTMLDivElement

const root = createRoot(domNode)

root.render(
	<StrictMode>
		<Provider store={store}>
			<RouterProvider router={router} />
		</Provider>
	</StrictMode>
)
